<HTML>
<HEAD>
<TITLE>DefaultProjectName - OnClick</TITLE>
<script type="text/javascript">
  var relPathToCommmon = "../../common/";
  var relPathToHelpDir = "../../common/help/";
</script>
<script type="text/javascript" src="../../common/jsdyn.js" language="JavaScript"></script>
<script type="text/javascript" src="../../common/js.js" language="JavaScript"></script>
<script type="text/javascript" src="leftmenu.js" language="JavaScript"></script>
<script type="text/javascript">
  var toSearchPage     = "_search','../../search";
  Body1();
</script>
<div class="headerPage">OnClick</div>
<div class="path"><a href="#" OnMouseOver="link('','../../index',this)" class="pathLink">OOXlib</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_dir','include0',this)" class="pathLink">include</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_class','CButton4032',this)" class="pathLink">CButton</A><img src="../../common/path-arrow.gif" class="path-arrow"><span class="pathNonLink">OnClick</span></div>
<script type="text/javascript">
 Body2();
 BodyLeftMenuStart();
WriteLeftMenu("","","","");
 BodyLeftMenuEnd();
 Body3();
</script>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','OnClick3759871374','_description',this)" class="tabLinkInActive">Description</a></span>
<span class="tabActive"><a href="#" OnMouseOver="linkTab('_member','OnClick3759871374','_source',this)" class="tabLinkActive">Source</a></span>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','OnClick3759871374','_callgraph',this)" class="tabLinkInActive">Call Graph</a></span>
<script type="text/javascript">
 Body4();
</script>
<div class="contentAirTop"></div>
<div class="paragraph2NoTopPadding">Start Line: 227</div>
<pre class="codeExamples">
void <a href="#" onMouseOver="link('_member','OnClick3759871374',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;OnClick&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>If button is pressed - exit.');" onMouseOut="return nd();">OOXlib::CButton::OnClick</a>()
                      {
    ::XEvent event;
    event.xclient.type = ClientMessage;
    event.xclient.window = <a href="#" onMouseOver="link('_member','m_Window2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>::Window&nbsp;&nbsp;m_Window ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Window</a>;
    // XInternAtom can generate BadAlloc and BadValue errors.
    event.xclient.message_type = ::XInternAtom(<a href="#" onMouseOver="link('_member','m_pXServerConnection2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CXServerConnection *&nbsp;&nbsp;m_pXServerConnection ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pXServerConnection</a>-&gt;Get(), "WM_PROTOCOLS", true);
    event.xclient.format = 32;
    // XInternAtom can generate BadAlloc and BadValue errors.
    event.xclient.data.l[0] = ::XInternAtom(<a href="#" onMouseOver="link('_member','m_pXServerConnection2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CXServerConnection *&nbsp;&nbsp;m_pXServerConnection ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pXServerConnection</a>-&gt;Get(), "WM_DELETE_WINDOW", false);
    event.xclient.data.l[1] = CurrentTime;
    // XSendEvent can generate BadValue and BadWindow errors.
    if(0 == ::XSendEvent(<a href="#" onMouseOver="link('_member','m_pXServerConnection2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CXServerConnection *&nbsp;&nbsp;m_pXServerConnection ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pXServerConnection</a>-&gt;Get(), <a href="#" onMouseOver="link('_member','m_Window2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>::Window&nbsp;&nbsp;m_Window ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Window</a>, False, NoEventMask, &amp;event)) {
        <a href="#" onMouseOver="link('_member','OOXLib_THROW3402324798',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>define&nbsp;&nbsp;OOXLib_THROW&nbsp;&nbsp;(ctor_name )',CAPTION,'<strong>Brief description</strong><BR>The main OOXlib throw replacement macro.');" onMouseOut="return nd();">OOXLib_THROW</a>(CDeleteWindowException);
    }
}
</pre><div class="contentAirBottom"></div>
<script type="text/javascript">
 Body5();
Statistics("","","","","");
 Body6();
SetPageTab('_member','_source');
</script>
